﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>JusTime</title>
    <style>
      html, body,#map-canvas {
        height: 100%;
        margin: 0px;
        padding: 0px
      }
    </style>
    <link href="script/bootstrap-3.1.1-dist/css/bootstrap-theme.min.css" rel="stylesheet" />
    <link href="script/bootstrap-3.1.1-dist/css/bootstrap.min.css" rel="stylesheet" />
    <script src="script/JQuery/jquery-1.11.0.min.js"></script>
    <script src="script/bootstrap-3.1.1-dist/js/bootstrap.min.js"></script>
    <script src="script/MapsApi.js"></script>
    <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=true"></script>
    <script src="script/Funciones.js"></script>    
</head>
<body onload="checkBus()">
    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand">JusTime</a>
            </div>
            <div class="collapse navbar-collapse">
                <ul class="nav navbar-nav">                    
                    <li><a data-toggle="modal" data-target="#Informacion"><span class="glyphicon glyphicon-search"></span>      Informacion</a></li>  
                    <li><a id="btnSalir"><span class="glyphicon glyphicon-circle-arrow-left"></span>  Salir</a></li>                          
                </ul>
            </div><!--/.nav-collapse -->
        </div>
    </div><br/><br/><br/>
    <div class="container">
        <p id="capa">Buscando geolocalización...</p>
    </div><!-- /.container -->
    <div id="map-canvas"></div> 
    <div class="modal fade" id="Informacion" tabindex="-1" role="dialog" aria-labelledby="Informacion" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">Informacion</h4>
                </div>
                <div class="modal-body">
                    <div class="panel-group" id="accordion">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <h4 class="panel-title">
                                    <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
                                        Informacion del bus
                                    </a>
                                </h4>
                            </div>
                            <div id="collapseOne" class="panel-collapse collapse in">
                                <div class="panel-body">
                                    <div align="center">
                                        <div class="input-group">
                                            <span class="input-group-addon" >Placa de bus</span>
                                            <input id="tPlaca" type="text" class="form-control" placeholder="" value="" readonly="readonly">
                                        </div><br/>                                    
                                        <div class="input-group">
                                            <span class="input-group-addon">Modelo</span>
                                            <input id="tModelo" type="text" class="form-control" placeholder="" readonly="readonly">
                                        </div><br />
                                        <div class="input-group">
                                            <span class="input-group-addon">Color</span>
                                            <input id="tColor" type="text" class="form-control" placeholder="" value="" readonly="readonly">
                                        </div><br/>   
                                        <div class="input-group">
                                            <span class="input-group-addon">Numero de motor</span>
                                            <input id="tNumeroMotor" type="text" class="form-control" placeholder="" value="" readonly="readonly">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <h4 class="panel-title">
                                    <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
                                        Informacion de ruta
                                    </a>
                                </h4>
                            </div>
                            <div id="collapseTwo" class="panel-collapse collapse">
                                <div class="panel-body">
                                    <div align="center">
                                        <div class="input-group">
                                            <span class="input-group-addon">Nombre ruta</span>
                                            <input id="tNomRuta" type="text" class="form-control" placeholder="" value="" readonly="readonly">
                                        </div><br/>                                   
                                        <div class="input-group">
                                            <span class="input-group-addon">Descripcion</span>
                                            <input id="tDescripcion" type="text" class="form-control" placeholder="" readonly="readonly">
                                        </div><br/>                                   
                                        <div class="input-group">
                                            <span class="input-group-addon">Distancia</span>
                                            <input id="tDistancia" type="text" class="form-control" placeholder="" readonly="readonly">
                                        </div><br />
                                        <div class="input-group">
                                            <span class="input-group-addon">Numero de buses</span>
                                            <input id="tNumBuses" type="text" class="form-control" placeholder="" value="" readonly="readonly">
                                        </div><br />
                                        <div class="input-group">
                                            <span class="input-group-addon">Tiempo de recorrido</span>
                                            <input id="tTiempoRecorrido" type="text" class="form-control" placeholder="" value="" readonly="readonly">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
                </div>
            </div>
        </div>
    </div>    
</body>
</html>
